import Flutter
import UIKit

//import AppsFlyerLib

@main
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
      
//      AppsFlyerLib.shared().appleAppID = "id6743470974"
//      AppsFlyerLib.shared().appsFlyerDevKey = "pJpKGnELxYueV2QxpgztDh"
//      
//      // Debug logs
//      AppsFlyerLib.shared().isDebug = true
      
    GeneratedPluginRegistrant.register(with: self)
    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  }
    
//    override func applicationDidBecomeActive(_ application: UIApplication) {
//        // No Listener
//        AppsFlyerLib.shared().start()
//        
//    }
//    override func application(_ app: UIApplication, open url: URL,
//                     options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
//        AppsFlyerLib.shared().handleOpen(url, options: options)
//        return true
//    }
}
